:root {
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
  "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --background-color: #2b2d42;
  --text-color: #edf2f4;
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  background-color: var(--background-color) !important;
  color: var(--text-color);
  font-family: var(--font-family), serif;
}

body {
  padding: 0;
  margin: 0;
}

html,
body {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
}

svg#treemap-svg {
  vertical-align: middle;
  width: 100%;
  height: 100%;
  max-height: 100vh;
}

#root {
  flex-grow: 1;
  height: 100vh;
  padding: 10px;
}

.tooltip {
  position: absolute;
  z-index: 1070;

  border: 2px solid;
  border-radius: 5px;

  padding: 5px;

  white-space: nowrap;

  font-size: 0.875rem;

  background-color: var(--background-color);
  color: var(--text-color);
}

.node {
  cursor: pointer;
}
